package edu.nju.desserthouse.dao;

import java.io.Serializable;
import java.util.ArrayList;

import javax.ejb.Remote;

import nju.edu.desserthouse.model.Clerk;

@Remote
public interface ClerkDao extends Serializable {
	public boolean save(Clerk clerk);
	
	public Clerk find(String column, String value);
	
	public boolean updateByClerkId(Clerk clerk);
	
	public Clerk find(String col1, String val1, String col2, String val2, int privilege);

	ArrayList<Clerk> getClerkList();

	boolean delete(String id);
	
}
